package com.flame.system.log.mapper;

import java.util.List;

import com.flame.system.log.controller.vo.OperateLogSimpleVo;
import com.flame.system.log.controller.vo.OperateLogVo;
import com.flame.system.log.entity.OperateLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * flame_operate_log 操作日志表
 *
 * @author 吴欣童
 * @since 2023-02-24 22:22:46
 */
@Mapper
public interface OperateLogMapper {

    List<OperateLogSimpleVo> page(OperateLogVo operateLogVo);

    void insert(OperateLog operateLog);

    void updateById(OperateLog operateLog);

    void deleteById(@Param("logId") Long logId);

    OperateLog findById(@Param("logId") Long logId);

    void batchDelete(List<Long> logIdList);

    void clear();
}